package com.my.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 厨房卫生状况
 * </p>
 *
 * @author 闫亚茹
 * @since 2018-09-10
 */
@TableName("kitchenhy")
public class Kitchenhy extends Model<Kitchenhy> {

    private static final long serialVersionUID = 1L;
	@TableField("areaid")
	private Long areaid;
	public Long getAreaid() { return areaid; }
	public void setAreaid(Long areaid) {
		this.areaid = areaid;
	}
	private Long id;
    /**
     * 时间
     */
	private Long date;
    /**
     * 门
     */
	private String door;
    /**
     * 垃圾桶
     */
	private String garbage;
    /**
     * 冰箱
     */
	private String refrigerator;
    /**
     * 碗架
     */
	private String rack;
    /**
     * 地板
     */
	private String floor;
    /**
     * 洗手台
     */
	private String wash;
    /**
     * 桌面
     */
	private String desktop;
    /**
     * 是否消毒
     */
	private String disinfection;
    /**
     * 是否异味
     */
	private String odour;
    /**
     * 清洁责任人
     */
	private String cleaner;
    /**
     * 检查人
     */
	private String inspect;
    /**
     * 监督人
     */
	private String supervise;
    /**
     * 创建时间
     */
    @TableField("createtime")
	private Long createtime;

	/**
	 * 卫生等级
	 * @return
	 */
private String grade;

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public Long getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Long createtime) {
		this.createtime = createtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getDate() {
		return date;
	}

	public void setDate(Long date) {
		this.date = date;
	}

	public String getDoor() {
		return door;
	}

	public void setDoor(String door) {
		this.door = door;
	}

	public String getGarbage() {
		return garbage;
	}

	public void setGarbage(String garbage) {
		this.garbage = garbage;
	}

	public String getRefrigerator() {
		return refrigerator;
	}

	public void setRefrigerator(String refrigerator) {
		this.refrigerator = refrigerator;
	}

	public String getRack() {
		return rack;
	}

	public void setRack(String rack) {
		this.rack = rack;
	}

	public String getFloor() {
		return floor;
	}

	public void setFloor(String floor) {
		this.floor = floor;
	}

	public String getWash() {
		return wash;
	}

	public void setWash(String wash) {
		this.wash = wash;
	}

	public String getDesktop() {
		return desktop;
	}

	public void setDesktop(String desktop) {
		this.desktop = desktop;
	}

	public String getDisinfection() {
		return disinfection;
	}

	public void setDisinfection(String disinfection) {
		this.disinfection = disinfection;
	}

	public String getOdour() {
		return odour;
	}

	public void setOdour(String odour) {
		this.odour = odour;
	}

	public String getCleaner() {
		return cleaner;
	}

	public void setCleaner(String cleaner) {
		this.cleaner = cleaner;
	}

	public String getInspect() {
		return inspect;
	}

	public void setInspect(String inspect) {
		this.inspect = inspect;
	}

	public String getSupervise() {
		return supervise;
	}

	public void setSupervise(String supervise) {
		this.supervise = supervise;
	}


	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Kitchenhy{" +
				"areaid=" + areaid +
				", id=" + id +
				", date=" + date +
				", door='" + door + '\'' +
				", garbage='" + garbage + '\'' +
				", refrigerator='" + refrigerator + '\'' +
				", rack='" + rack + '\'' +
				", floor='" + floor + '\'' +
				", wash='" + wash + '\'' +
				", desktop='" + desktop + '\'' +
				", disinfection='" + disinfection + '\'' +
				", odour='" + odour + '\'' +
				", cleaner='" + cleaner + '\'' +
				", inspect='" + inspect + '\'' +
				", supervise='" + supervise + '\'' +
				", createtime=" + createtime +
				", grade='" + grade + '\'' +
				'}';
	}
}
